#include "audio_file.h"

const short sinWave1024[1024] =
{
0, 12, 25, 37, 49, 61, 74, 86, 98, 110, 123, 135, 147, 159, 172, 184, 
196, 208, 220, 233, 245, 257, 269, 281, 293, 306, 318, 330, 342, 354, 366, 378, 
390, 402, 414, 426, 438, 450, 462, 474, 486, 498, 510, 522, 533, 545, 557, 569, 
581, 592, 604, 616, 627, 639, 651, 662, 674, 685, 697, 708, 720, 731, 743, 754, 
765, 777, 788, 799, 810, 822, 833, 844, 855, 866, 877, 888, 899, 910, 921, 932, 
943, 954, 964, 975, 986, 996, 1007, 1018, 1028, 1039, 1049, 1060, 1070, 1080, 1091, 1101, 
1111, 1121, 1131, 1142, 1152, 1162, 1172, 1182, 1191, 1201, 1211, 1221, 1230, 1240, 1250, 1259, 
1269, 1278, 1288, 1297, 1306, 1316, 1325, 1334, 1343, 1352, 1361, 1370, 1379, 1388, 1397, 1406, 
1414, 1423, 1431, 1440, 1448, 1457, 1465, 1474, 1482, 1490, 1498, 1506, 1514, 1522, 1530, 1538, 
1546, 1554, 1561, 1569, 1577, 1584, 1592, 1599, 1606, 1614, 1621, 1628, 1635, 1642, 1649, 1656, 
1663, 1670, 1676, 1683, 1690, 1696, 1703, 1709, 1715, 1722, 1728, 1734, 1740, 1746, 1752, 1758, 
1764, 1770, 1775, 1781, 1786, 1792, 1797, 1803, 1808, 1813, 1818, 1823, 1828, 1833, 1838, 1843, 
1848, 1852, 1857, 1862, 1866, 1870, 1875, 1879, 1883, 1887, 1891, 1895, 1899, 1903, 1907, 1910, 
1914, 1917, 1921, 1924, 1928, 1931, 1934, 1937, 1940, 1943, 1946, 1949, 1951, 1954, 1957, 1959, 
1962, 1964, 1966, 1968, 1971, 1973, 1975, 1977, 1978, 1980, 1982, 1983, 1985, 1986, 1988, 1989, 
1990, 1992, 1993, 1994, 1995, 1995, 1996, 1997, 1998, 1998, 1999, 1999, 1999, 2000, 2000, 2000, 
2000, 2000, 2000, 2000, 1999, 1999, 1999, 1998, 1998, 1997, 1996, 1995, 1995, 1994, 1993, 1992, 
1990, 1989, 1988, 1986, 1985, 1983, 1982, 1980, 1978, 1977, 1975, 1973, 1971, 1968, 1966, 1964, 
1962, 1959, 1957, 1954, 1951, 1949, 1946, 1943, 1940, 1937, 1934, 1931, 1928, 1924, 1921, 1917, 
1914, 1910, 1907, 1903, 1899, 1895, 1891, 1887, 1883, 1879, 1875, 1870, 1866, 1862, 1857, 1852, 
1848, 1843, 1838, 1833, 1828, 1823, 1818, 1813, 1808, 1803, 1797, 1792, 1786, 1781, 1775, 1770, 
1764, 1758, 1752, 1746, 1740, 1734, 1728, 1722, 1715, 1709, 1703, 1696, 1690, 1683, 1676, 1670, 
1663, 1656, 1649, 1642, 1635, 1628, 1621, 1614, 1606, 1599, 1592, 1584, 1577, 1569, 1561, 1554, 
1546, 1538, 1530, 1522, 1514, 1506, 1498, 1490, 1482, 1474, 1465, 1457, 1448, 1440, 1431, 1423, 
1414, 1406, 1397, 1388, 1379, 1370, 1361, 1352, 1343, 1334, 1325, 1316, 1306, 1297, 1288, 1278, 
1269, 1259, 1250, 1240, 1230, 1221, 1211, 1201, 1191, 1182, 1172, 1162, 1152, 1142, 1131, 1121, 
1111, 1101, 1091, 1080, 1070, 1060, 1049, 1039, 1028, 1018, 1007, 996, 986, 975, 964, 954, 
943, 932, 921, 910, 899, 888, 877, 866, 855, 844, 833, 822, 810, 799, 788, 777, 
765, 754, 743, 731, 720, 708, 697, 685, 674, 662, 651, 639, 627, 616, 604, 592, 
581, 569, 557, 545, 533, 522, 510, 498, 486, 474, 462, 450, 438, 426, 414, 402, 
390, 378, 366, 354, 342, 330, 318, 306, 293, 281, 269, 257, 245, 233, 220, 208, 
196, 184, 172, 159, 147, 135, 123, 110, 98, 86, 74, 61, 49, 37, 25, 12, 
0, -12, -25, -37, -49, -61, -74, -86, -98, -110, -123, -135, -147, -159, -172, -184, 
-196, -208, -220, -233, -245, -257, -269, -281, -293, -306, -318, -330, -342, -354, -366, -378, 
-390, -402, -414, -426, -438, -450, -462, -474, -486, -498, -510, -522, -533, -545, -557, -569, 
-581, -592, -604, -616, -627, -639, -651, -662, -674, -685, -697, -708, -720, -731, -743, -754, 
-765, -777, -788, -799, -810, -822, -833, -844, -855, -866, -877, -888, -899, -910, -921, -932, 
-943, -954, -964, -975, -986, -996, -1007, -1018, -1028, -1039, -1049, -1060, -1070, -1080, -1091, -1101, 
-1111, -1121, -1131, -1142, -1152, -1162, -1172, -1182, -1191, -1201, -1211, -1221, -1230, -1240, -1250, -1259, 
-1269, -1278, -1288, -1297, -1306, -1316, -1325, -1334, -1343, -1352, -1361, -1370, -1379, -1388, -1397, -1406, 
-1414, -1423, -1431, -1440, -1448, -1457, -1465, -1474, -1482, -1490, -1498, -1506, -1514, -1522, -1530, -1538, 
-1546, -1554, -1561, -1569, -1577, -1584, -1592, -1599, -1606, -1614, -1621, -1628, -1635, -1642, -1649, -1656, 
-1663, -1670, -1676, -1683, -1690, -1696, -1703, -1709, -1715, -1722, -1728, -1734, -1740, -1746, -1752, -1758, 
-1764, -1770, -1775, -1781, -1786, -1792, -1797, -1803, -1808, -1813, -1818, -1823, -1828, -1833, -1838, -1843, 
-1848, -1852, -1857, -1862, -1866, -1870, -1875, -1879, -1883, -1887, -1891, -1895, -1899, -1903, -1907, -1910, 
-1914, -1917, -1921, -1924, -1928, -1931, -1934, -1937, -1940, -1943, -1946, -1949, -1951, -1954, -1957, -1959, 
-1962, -1964, -1966, -1968, -1971, -1973, -1975, -1977, -1978, -1980, -1982, -1983, -1985, -1986, -1988, -1989, 
-1990, -1992, -1993, -1994, -1995, -1995, -1996, -1997, -1998, -1998, -1999, -1999, -1999, -2000, -2000, -2000, 
-2000, -2000, -2000, -2000, -1999, -1999, -1999, -1998, -1998, -1997, -1996, -1995, -1995, -1994, -1993, -1992, 
-1990, -1989, -1988, -1986, -1985, -1983, -1982, -1980, -1978, -1977, -1975, -1973, -1971, -1968, -1966, -1964, 
-1962, -1959, -1957, -1954, -1951, -1949, -1946, -1943, -1940, -1937, -1934, -1931, -1928, -1924, -1921, -1917, 
-1914, -1910, -1907, -1903, -1899, -1895, -1891, -1887, -1883, -1879, -1875, -1870, -1866, -1862, -1857, -1852, 
-1848, -1843, -1838, -1833, -1828, -1823, -1818, -1813, -1808, -1803, -1797, -1792, -1786, -1781, -1775, -1770, 
-1764, -1758, -1752, -1746, -1740, -1734, -1728, -1722, -1715, -1709, -1703, -1696, -1690, -1683, -1676, -1670, 
-1663, -1656, -1649, -1642, -1635, -1628, -1621, -1614, -1606, -1599, -1592, -1584, -1577, -1569, -1561, -1554, 
-1546, -1538, -1530, -1522, -1514, -1506, -1498, -1490, -1482, -1474, -1465, -1457, -1448, -1440, -1431, -1423, 
-1414, -1406, -1397, -1388, -1379, -1370, -1361, -1352, -1343, -1334, -1325, -1316, -1306, -1297, -1288, -1278, 
-1269, -1259, -1250, -1240, -1230, -1221, -1211, -1201, -1191, -1182, -1172, -1162, -1152, -1142, -1131, -1121, 
-1111, -1101, -1091, -1080, -1070, -1060, -1049, -1039, -1028, -1018, -1007, -996, -986, -975, -964, -954, 
-943, -932, -921, -910, -899, -888, -877, -866, -855, -844, -833, -822, -810, -799, -788, -777, 
-765, -754, -743, -731, -720, -708, -697, -685, -674, -662, -651, -639, -627, -616, -604, -592, 
-581, -569, -557, -545, -533, -522, -510, -498, -486, -474, -462, -450, -438, -426, -414, -402, 
-390, -378, -366, -354, -342, -330, -318, -306, -293, -281, -269, -257, -245, -233, -220, -208, 
-196, -184, -172, -159, -147, -135, -123, -110, -98, -86, -74, -61, -49, -37, -25, -12
};

const short sinWave512[512] =
{
0, 25, 49, 74, 98, 123, 147, 172, 196, 220, 245, 269, 293, 318, 342, 366, 
390, 414, 438, 462, 486, 510, 533, 557, 581, 604, 627, 651, 674, 697, 720, 743, 
765, 788, 810, 833, 855, 877, 899, 921, 943, 964, 986, 1007, 1028, 1049, 1070, 1091, 
1111, 1131, 1152, 1172, 1191, 1211, 1230, 1250, 1269, 1288, 1306, 1325, 1343, 1361, 1379, 1397, 
1414, 1431, 1448, 1465, 1482, 1498, 1514, 1530, 1546, 1561, 1577, 1592, 1606, 1621, 1635, 1649, 
1663, 1676, 1690, 1703, 1715, 1728, 1740, 1752, 1764, 1775, 1786, 1797, 1808, 1818, 1828, 1838, 
1848, 1857, 1866, 1875, 1883, 1891, 1899, 1907, 1914, 1921, 1928, 1934, 1940, 1946, 1951, 1957, 
1962, 1966, 1971, 1975, 1978, 1982, 1985, 1988, 1990, 1993, 1995, 1996, 1998, 1999, 1999, 2000, 
2000, 2000, 1999, 1999, 1998, 1996, 1995, 1993, 1990, 1988, 1985, 1982, 1978, 1975, 1971, 1966, 
1962, 1957, 1951, 1946, 1940, 1934, 1928, 1921, 1914, 1907, 1899, 1891, 1883, 1875, 1866, 1857, 
1848, 1838, 1828, 1818, 1808, 1797, 1786, 1775, 1764, 1752, 1740, 1728, 1715, 1703, 1690, 1676, 
1663, 1649, 1635, 1621, 1606, 1592, 1577, 1561, 1546, 1530, 1514, 1498, 1482, 1465, 1448, 1431, 
1414, 1397, 1379, 1361, 1343, 1325, 1306, 1288, 1269, 1250, 1230, 1211, 1191, 1172, 1152, 1131, 
1111, 1091, 1070, 1049, 1028, 1007, 986, 964, 943, 921, 899, 877, 855, 833, 810, 788, 
765, 743, 720, 697, 674, 651, 627, 604, 581, 557, 533, 510, 486, 462, 438, 414, 
390, 366, 342, 318, 293, 269, 245, 220, 196, 172, 147, 123, 98, 74, 49, 25, 
0, -25, -49, -74, -98, -123, -147, -172, -196, -220, -245, -269, -293, -318, -342, -366, 
-390, -414, -438, -462, -486, -510, -533, -557, -581, -604, -627, -651, -674, -697, -720, 
-743, -765, -788, -810, -833, -855, -877, -899, -921, -943, -964, -986, -1007, -1028, -1049, -1070, -1091, 
-1111, -1131, -1152, -1172, -1191, -1211, -1230, -1250, -1269, -1288, -1306, -1325, -1343, -1361, -1379, -1397, 
-1414, -1431, -1448, -1465, -1482, -1498, -1514, -1530, -1546, -1561, -1577, -1592, -1606, -1621, -1635, -1649, 
-1663, -1676, -1690, -1703, -1715, -1728, -1740, -1752, -1764, -1775, -1786, -1797, -1808, -1818, -1828, -1838, 
-1848, -1857, -1866, -1875, -1883, -1891, -1899, -1907, -1914, -1921, -1928, -1934, -1940, -1946, -1951, -1957, 
-1962, -1966, -1971, -1975, -1978, -1982, -1985, -1988, -1990, -1993, -1995, -1996, -1998, -1999, -1999, -2000, 
-2000, -2000, -1999, -1999, -1998, -1996, -1995, -1993, -1990, -1988, -1985, -1982, -1978, -1975, -1971, -1966, 
-1962, -1957, -1951, -1946, -1940, -1934, -1928, -1921, -1914, -1907, -1899, -1891, -1883, -1875, -1866, -1857, 
-1848, -1838, -1828, -1818, -1808, -1797, -1786, -1775, -1764, -1752, -1740, -1728, -1715, -1703, -1690, -1676, 
-1663, -1649, -1635, -1621, -1606, -1592, -1577, -1561, -1546, -1530, -1514, -1498, -1482, -1465, -1448, -1431, 
-1414, -1397, -1379, -1361, -1343, -1325, -1306, -1288, -1269, -1250, -1230, -1211, -1191, -1172, -1152, -1131, 
-1111, -1091, -1070, -1049, -1028, -1007, -986, -964, -943, -921, -899, -877, -855, -833, -810, -788, 
-765, -743, -720, -697, -674, -651, -627, -604, -581, -557, -533, -510, -486, -462, -438, -414, 
-390, -366, -342, -318, -293, -269, -245, -220, -196, -172, -147, -123, -98, -74, -49, -25
};

const short sinWave256[256] =
{
0, 49, 98, 147, 196, 245, 293, 342, 390, 438, 486, 533, 581, 627, 674, 720, 
765, 810, 855, 899, 943, 986, 1028, 1070, 1111, 1152, 1191, 1230, 1269, 1306, 1343, 1379, 
1414, 1448, 1482, 1514, 1546, 1577, 1606, 1635, 1663, 1690, 1715, 1740, 1764, 1786, 1808, 1828, 
1848, 1866, 1883, 1899, 1914, 1928, 1940, 1951, 1962, 1971, 1978, 1985, 1990, 1995, 1998, 1999, 
2000, 1999, 1998, 1995, 1990, 1985, 1978, 1971, 1962, 1951, 1940, 1928, 1914, 1899, 1883, 1866, 
1848, 1828, 1808, 1786, 1764, 1740, 1715, 1690, 1663, 1635, 1606, 1577, 1546, 1514, 1482, 1448, 
1414, 1379, 1343, 1306, 1269, 1230, 1191, 1152, 1111, 1070, 1028, 986, 943, 899, 855, 810, 
765, 720, 674, 627, 581, 533, 486, 438, 390, 342, 293, 245, 196, 147, 98, 49, 
0, -49, -98, -147, -196, -245, -293, -342, -390, -438, -486, -533, -581, -627, -674, -720, 
-765, -810, -855, -899, -943, -986, -1028, -1070, -1111, -1152, -1191, -1230, -1269, -1306, -1343, -1379, 
-1414, -1448, -1482, -1514, -1546, -1577, -1606, -1635, -1663, -1690, -1715, -1740, -1764, -1786, -1808, -1828, 
-1848, -1866, -1883, -1899, -1914, -1928, -1940, -1951, -1962, -1971, -1978, -1985, -1990, -1995, -1998, -1999, 
-2000, -1999, -1998, -1995, -1990, -1985, -1978, -1971, -1962, -1951, -1940, -1928, -1914, -1899, -1883, -1866, 
-1848, -1828, -1808, -1786, -1764, -1740, -1715, -1690, -1663, -1635, -1606, -1577, -1546, -1514, -1482, -1448, 
-1414, -1379, -1343, -1306, -1269, -1230, -1191, -1152, -1111, -1070, -1028, -986, -943, -899, -855, -810, 
-765, -720, -674, -627, -581, -533, -486, -438, -390, -342, -293, -245, -196, -147, -98, -49
};




